-
Notifications
You must be signed in to change notification settings - Fork 28
chore(guides): some missing snippets + guides #4477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
b338e4a to
f16f483
Compare
millotp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huuuuuuge ! thanks a lot for doing this !
|
|
||
| self.wait_task_time_before_retry: Optional[int] = None | ||
| self.headers: Optional[Dict[str, str]] = None | ||
| self.headers: Dict[str, str] = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because ultimately we always use it as a dict, it's never treated like it can be None
So setting it to an empty dict from the beginning ease the DX
…ip ci] Co-authored-by: Thomas Raffray <[email protected]>
algolia/api-clients-automation#4477 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
🧭 What and Why
🎟 JIRA Ticket: DI-3413
Changes included: